<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax封装请求测试</title>
</head>

<body>

  <input type="text" id="txtEcho">
  <button id="btnEcho">发送</button>
  <div id="divEcho"></div>

  <hr>


  <input type="text" id="txtPinyin">
  <button id="btnPinyin">转拼音</button>
  <div id="divPinyin"></div>


  <script type="module" src="./js/demo.js"></script>

</body>

</html>